﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Enferno.Public.Web.Models
{
    public class PromotionModel : PromotionBaseModel<ProductFileModel>
    {
        
    }

    public class PromotionBaseModel<TProductFileModel>
        where TProductFileModel: ProductFileModel
    {
        public int? Id { get; set; }
        public bool AllowProductListing { get; set; }
        public string Header { get; set; }
        public string ShortDescription { get; set; }
        public string Description1 { get; set; }
        public string Description2 { get; set; }
        public string DiscountCode { get; set; }
        public string Name { get; set; }

        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        
        public string ImageUrl { get; set; }
        public IEnumerable<TProductFileModel> Images { get; set; }
        public bool IsExcludedFromPriceCalculation { get; set; }
        
        public string RequirementSeed { get; set; }
        
        
    }
}
